package com.threads.runnable;

import com.threads.MyOwnClass;


public class ThreadRunnable extends MyOwnClass implements Runnable  {

	
	public ThreadRunnable() {
	   
	}
	
	
	
	public void run() {
		 
		
		try {
			
			
			
			
			for (int i = 0; i < 10; i++) {
				
			
				super.showMe();
			System.out.println("I am from runnable >>> run method  --- " + i);
 			 
			Thread.currentThread().sleep(1000);
			}
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}
}
